<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class home extends CI_Controller {
	function __construct(){
		parent::__construct();
		$this->load->model('mdata');
	}
	
	public function index()
	{
		$this->load->view('frontend');
	}
	
	function get_data($p1="",$p2=""){
		echo $this->mdata->get_data($p1,$p2); 
		//test
		
	}
	
}
